/* 我的关注页面样式 */
.user-follow-page {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.follow-content {
  padding: 0;
  background-color: #f5f5f5;
}

/* 加载状态 */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 16px;
  color: #666;
}

/* 错误状态 */
.error-message {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 16px;
  color: #ff4d4f;
}

/* 空状态 */
.empty-state {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 16px;
  color: #999;
}

/* 医生列表 */
.doctor-list {
  padding: 0;
}

/* 左滑容器 */
.swipe-container {
  position: relative;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 医生卡片 */
.doctor-card {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

/* 医生头像 */
.doctor-avatar {
  margin-right: 12px;
}

.doctor-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* 医生信息 */
.doctor-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 医生姓名和职称行 */
.doctor-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.doctor-title {
  font-size: 14px;
  color: #666;
}

/* 医院信息 */
.doctor-hospital {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

/* 统计信息 */
.doctor-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.praise-rate {
  color: #52c41a;
}

.patient-count {
  color: #666;
}

/* 左滑操作区域 */
.swipe-action {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff4d4f;
  z-index: 1;
}

/* 左滑取消关注按钮样式 */
.cancel-follow-btn {
  background-color: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .doctor-card {
    padding: 12px;
  }
  
  .doctor-avatar img {
    width: 50px;
    height: 50px;
  }
  
  .doctor-name {
    font-size: 15px;
  }
  
  .doctor-title {
    font-size: 13px;
  }
  
  .doctor-hospital {
    font-size: 13px;
  }
  
  .doctor-stats {
    font-size: 11px;
  }
}
